package com.zh.pojo.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * <p>@ClassName：DriverProperties
 * <p>@Date 2023/11/21  18:38
 *
 * @Author zzl
 **/
@Data
@Component
@ConfigurationProperties(prefix = "fccar.driver")
public class DriverSettingProperties {
    /**
     * 接单条件：订单距离(公里)
     */
    private  Integer orderDistance;
    /**
     * 接单条件：方圆n公里
     */
    private  Integer  rangeDistance;

}
